package com.example.springboot_demo.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * <P> @Author: SongKeCheng
 * <P> Type: Class
 * <P> Description:
 * <P> Date: 2024/9/2:16:09
 */
//http://localhost:8080/form/findOne
@SuppressWarnings({"unchecked", ""})
@Controller
@RequestMapping("/form")
public class DemoController {

    @RequestMapping(value = "/findOne",method = {RequestMethod.POST})
    @ResponseBody
    public String findOne(){
        return "this is response";
    }
}
